import React, { Component } from 'react'
import './mynav.less'
import {NavLink} from 'react-router-dom'
 export default class Mynav extends Component{
     render(){
         return(
             
                     <div className='mynav'>
                         <div>
                            <NavLink exact={true} to='/'>
                                <i className='iconfont icon-index'></i>
                                <p>首页</p>
                            </NavLink>
                         </div>
                         <div>
                            <NavLink to='shop'>
                                <i className='small iconfont icon-shangcheng'></i>
                                <p>商城</p>
                            </NavLink>
                         </div>
                         <div>
                            <NavLink to='life'>
                                <i className='iconfont icon-jiangbei'></i>
                                <p>生活</p>
                            </NavLink>
                         </div>
                         <div>
                            <NavLink to='myself'>
                                <i className='iconfont icon-wode1'></i>
                                <p>我的</p>
                            </NavLink>
                         </div>
                     </div>
                
             
         )
     }
 }